package com.sxbbc.common.core.mapper.jz;

import com.sxbbc.common.core.entity.jz.OrderSeckillConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 秒杀订单附属表 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-06-25
 */
public interface OrderSeckillConfigMapper extends BaseMapper<OrderSeckillConfig> {
	
	/**
	 * 获取当前用户购买此类秒杀产品数量
	 * @param seckillConfig
	 * @return
	 */
	int getBuyNum(OrderSeckillConfig seckillConfig);

}
